package com.neusoft.elmboot.mapper;

import java.math.BigDecimal;
import java.util.List;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

import com.neusoft.elmboot.po.PointTrans; // 假设你的实体类名为PointTrans

@Mapper
public interface PointTransMapper {
	
	@Insert("insert into pointtrans values(null, #{userId}, #{type}, #{count}, #{time})")
	public int savePointTrans(PointTrans pointTrans); // 方法参数和返回类型更正为PointTrans
	
	public List<PointTrans> listPointTransByUserId(String userId); // 方法名和返回类型更正为PointTrans
}